class WOmen:
    def __init__(self,name,age):
        self.name=name
        self.__age=age
    def secret(self):
        print(self.__age)
xiaohong=WOmen('xiaohong',18)

xiaohong.secret()